package com.example.entity;

import lombok.Data;
@Data

public class Course {
    private Integer course_id;
    private Integer user_id;
    private String course_name;
    private String course_time; // 例如：每周一 10:00-12:00
    private String location;
    private String assignment_deadline; // 建议用 Date 类型，也可以用 String 视前后端格式
    private String exam_date;

    public Integer getCourse_id() {
        return course_id;
    }

    public void setCourse_id(Integer course_id) {
        this.course_id = course_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getCourse_time() {
        return course_time;
    }

    public void setCourse_time(String course_time) {
        this.course_time = course_time;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getAssignment_deadline() {
        return assignment_deadline;
    }

    public void setAssignment_deadline(String assignment_deadline) {
        this.assignment_deadline = assignment_deadline;
    }

    public String getExam_date() {
        return exam_date;
    }

    public void setExam_date(String exam_date) {
        this.exam_date = exam_date;
    }
}

